// g++ -D COMPILER_SERVER 编译代码时加宏定义即可去掉下面调包含语句
#ifndef COMPILER_SERVER
#include "header.cpp"
#endif

void Test1()
{
    vector<int> nums = { 10,22,23,152,65,79,85,96,32,1 };
    if (Solution().Max(nums) == 152)
        std::cout << "测试用例1通过" << std::endl;
    else
        std::cout << "测试用例1失败" << std::endl;
}

void Test2()
{
    vector<int> nums = { 2,34,5,243,351,412,2,8,56,89,138, };
    if (Solution().Max(nums) == 412)
        std::cout << "测试用例2通过" << std::endl;
    else
        std::cout << "测试用例2失败" << std::endl;
}

int main()
{
    Test1();
    Test2();

    return 0;
}